package cool.webstudy.common.model.po.logger.api;

import cool.webstudy.common.constant.enums.ApiActionMethodEnum;
import cool.webstudy.common.model.po.logger.BaseLoggerPO;
import lombok.Data;

/**
 * @author think
 * @date 2024/8/1 22:37
 * @description: 接口日志信息实体类
 */
@Data
public class ApiLoggerPO extends BaseLoggerPO {
    /**
     * @description: 请求状态码
     */
    private Integer requestStatus;
    /**
     * @description: 接口路径
     */
    private String apiPath;
    /**
     * @description: 接口请求方式
     */
    private ApiActionMethodEnum apiActionMethod;
    /**
     * @description: 接口请求体
     */
    private String requestBody;
    /**
     * @description: 接口响应体
     */
    private String responseBody;
}
